<% @page_title = "Update Personal Information" %>

<%= render :partial => 'menu' %>

<div class="form_container column span-16 prepend-3 last">

  <h3><%= @page_title %></h3>

  <%= sourdough_error_messages_for :user %>

  <% form_for(:user, :url => user_path(current_user), :html => { :method => :put }) do |f| %>
    <dl class="inline">
      <dt><%= label_for :user, 'First Name' %></dt>
      <dd><%= f.text_field :first_name, :class => 'autofocus' %></dd>
      <dt><%= label_for :user, 'Last Name' %></dt>
      <dd><%= f.text_field :last_name %></dd>
      <dt><%= label_for :user, 'Gender' %></dt>
      <dd><%= f.radio_button :gender, "Male"   %> Male <%= f.radio_button :gender, "Female" %> Female</dd>
      <dt><%= label_for :user, 'City' %></dt>
      <dd><%= f.text_field :city %></dd>
      <dt><%= label_for :user, 'State' %></dt>
      <dd><%= f.text_field :state %></dd>
      <dt><%= label_for :user, 'Zip Code' %></dt>
      <dd><%= f.text_field :zip_code %></dd>
      <hr />
      <dt><%= label_for :user, :email_notifications %></dt>
      <dd><%= f.check_box :email_notifications %> Notify me when a new article is posted to my disciplines</dd>
    </dl>
    <p></p>
    <hr />
    <p><%= submit_tag "Update Personal Information", :class => "submit" %></p>
  <% end %>

</div>
